package com.ruoyi.notice.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;

import com.entity.concat.ITimeEntity;
import com.ruoyi.common.core.domain.Entity;

/**
 * 通知的用户对象 mg_notice_user
 * 
 * @author 王强
 * @date 2024-01-22
 */
public class NoticeUser extends Entity implements ITimeEntity<Long>
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 通知编号 */
    @Excel(name = "通知编号")
    private Long noticeId;

    /** 通知的用户 */
    @Excel(name = "通知的用户")
    private Long userId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setNoticeId(Long noticeId) 
    {
        this.noticeId = noticeId;
    }

    public Long getNoticeId() 
    {
        return noticeId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("noticeId", getNoticeId())
            .append("userId", getUserId())
            .toString();
    }
}
